﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace RGB_Sampling
{
    internal static class Program
    {
        [STAThread]
        static void Main()
        {
            DataMode[] dataMode = new DataMode[12];

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var form = new Form1();
            //form.AddTest(true,"Energize Red Die", string.Format("x={0},y={1},Y={2}",1,2,3), string.Format("{0}s",5));
            //form.AddTest(false,"Energize Green Die", string.Format("x={0},y={1},Y={2}",2,1,6), string.Format("{0}s",9));
            //form.AddTest(true, "Energize Blue Die", string.Format("x={0},y={1},Y={2}",3,4,3), string.Format("{0}s",2));
            //form.AddTest(true, "Read RGB Temperature", string.Format("R:{0}, G:{1}, B:{2}",3,4,3), string.Format("{0}s",2));
            //form.AddTest(true, "Write Three Colors Parameters", string.Format("R:(x:{0}, y:{1}, {2}); G:(x:{3}, y:{4}, {5}); B:(x:{6}, y:{7}, {8}); ", 3,4,3, 5,6,7, 9,2,1), string.Format("{0}s",2));
            //form.AddTest(true, "Download Configuration", "", "");
            //form.AddTest(true, "Check Color 1", string.Format("x={0},y={1},Y={2}", 1, 4, 3), string.Format("{0}s", 4));
            //form.AddTest(true, "Check Color 2", string.Format("x={0},y={1},Y={2}", 1, 4, 3), string.Format("{0}s", 4));
            //form.AddTest(true, "Check Color 3", string.Format("x={0},y={1},Y={2}", 1, 4, 3), string.Format("{0}s", 4));
            //form.AddTest(true, "Check Color 4", string.Format("x={0},y={1},Y={2}", 1, 4, 3), string.Format("{0}s", 4));
            //form.AddTest(true, "Check Color 5", string.Format("x={0},y={1},Y={2}", 1, 4, 3), string.Format("{0}s", 4));
            //form.AddTest(true, "Check Color 6", string.Format("x={0},y={1},Y={2}", 1, 4, 3), string.Format("{0}s", 4));
            //form.AddTest(true, "Finish", "", "");
            Application.Run(form);
        }
    }
}
